package com.yunhe.assist.service;

import com.yunhe.assist.domain.FeedbackReply;

import java.util.List;

/**
 * @description feedback_reply
 * @author dlz
 * @date 2021-11-09
 */
public interface FeedbackReplyService {

    /**
     * 新增
     */
    int createFeedbackReply (FeedbackReply feedbackReply);

    /**
     * 删除
     */
    int deleteFeedbackReply(int id);

    /**
     * 更新
     */
    int updateFeedbackReply(FeedbackReply feedbackReply);

    /**
     * 根据主键 id 查询
     */
    FeedbackReply findFeedbackReplyById(int id);


    //列表查询
    List<FeedbackReply> findListByFeedbackId(long feedbackId);

    //查询第一条回复记录
    FeedbackReply getFirstByFeedbackId(long feedbackId);
}